package com.example.demo.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDate;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Borrow  implements Serializable {
    private Integer borrow_id;
    private Integer book_id;
    private Integer reader_id;

    private LocalDate borrow_date;
    private LocalDate due_date;
    private LocalDate return_date;

    private float fine;
//    Borrow(Integer reader_id,Integer book_id){
//
//        this.reader_id=reader_id;
//        this.book_id=book_id;
//
//    }

//    private Date borrow_date;

}
